Skip to content

docs: document Articles IV, V & VI as project-customizable in spec-driven.md#2467

Open
Copilot wants to merge 13 commits into
mainfrom
copilot/docs-spec-driven-update-articles-iv-v-vi
Open

docs: document Articles IV, V & VI as project-customizable in spec-driven.md#2467
Copilot wants to merge 13 commits into
mainfrom
copilot/docs-spec-driven-update-articles-iv-v-vi

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 6, 2026

spec-driven.md claimed "nine articles" but only documented six — Articles IV, V, and VI were silently missing between Article III and Articles VII & VIII.

Changes

  • spec-driven.md — adds #### Articles IV, V & VI: Project-Specific Standards between Article III and Articles VII & VIII:
    • Identifies each article's typical domain: IV → integration concerns, V → operational concerns, VI → lifecycle concerns
    • Frames these as the primary customization points that teams define via /speckit.constitution, not as universal fixed requirements
    • Notes that /speckit.constitution supports fewer or more principles than the template default, and that /speckit.analyze validates spec, plan, and task artifacts against every principle in the project constitution
    • Adds a pointer in the constitution introduction to /speckit.constitution as the recommended command for creating or updating the constitution, and to .specify/memory/constitution.md as the resulting file

Copilot AI self-assigned this May 6, 2026
Copilot AI review requested due to automatic review settings May 6, 2026 13:51
Copilot AI review requested due to automatic review settings May 6, 2026 13:51
Copilot AI requested review from Copilot and removed request for Copilot May 6, 2026 13:54
Copilot AI changed the title [WIP] Document Articles IV, V, VI as project-customizable in spec-driven.md docs: document Articles IV, V & VI as project-customizable in spec-driven.md May 6, 2026
Copilot AI requested a review from mnriem May 6, 2026 13:55
Copilot finished work on behalf of mnriem May 6, 2026 13:55
@mnriem mnriem marked this pull request as ready for review May 6, 2026 16:38
@mnriem mnriem requested review from Copilot and removed request for Copilot May 6, 2026 16:38
@mnriem mnriem requested review from Copilot and removed request for Copilot May 6, 2026 19:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 3

Comment thread spec-driven.md Outdated
Comment thread spec-driven.md Outdated
Comment thread spec-driven.md Outdated
@mnriem
Copy link
Copy Markdown
Collaborator

mnriem commented May 6, 2026

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 6, 2026

@copilot apply changes based on the comments in this thread

Applied all three review comments in d4ec0b7:

  1. Removed the "fixed in the Spec Kit framework" framing — the section now describes IV–VI as the typical customization focus areas while noting that /speckit.constitution lets teams define fewer or more principles than the template.
  2. Collapsed Article V and VI into a single bullet that correctly reflects the template grouping them under one [PRINCIPLE_5_NAME] / [PRINCIPLE_5_DESCRIPTION] slot by default, with a note that teams can expand to separate articles via /speckit.constitution.
  3. Reworded the /speckit.analyze sentence to say it validates all spec/plan artifacts against every principle in the project constitution, rather than implying article-number-specific logic.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment thread spec-driven.md Outdated

- **Article IV** addresses integration concerns—such as integration testing requirements, contract testing across service boundaries, or cross-component communication standards. The constitution template's `[PRINCIPLE_4_NAME]` / `[PRINCIPLE_4_DESCRIPTION]` slot is dedicated to this article, with an example hint of *Integration Testing*.

- **Articles V & VI** address operational and lifecycle concerns—such as observability, structured logging, versioning schemes, or breaking-change policies. By default, the template groups these under a single `[PRINCIPLE_5_NAME]` / `[PRINCIPLE_5_DESCRIPTION]` slot (example hint: *V. Observability, VI. Versioning & Breaking Changes*). Teams that need separate articles can expand to additional principle sections using `/speckit.constitution`.
Comment thread spec-driven.md Outdated

- **Articles V & VI** address operational and lifecycle concerns—such as observability, structured logging, versioning schemes, or breaking-change policies. By default, the template groups these under a single `[PRINCIPLE_5_NAME]` / `[PRINCIPLE_5_DESCRIPTION]` slot (example hint: *V. Observability, VI. Versioning & Breaking Changes*). Teams that need separate articles can expand to additional principle sections using `/speckit.constitution`.

To define these articles, populate the corresponding principle sections in `.specify/memory/constitution.md` (generated from `templates/constitution-template.md`). The `/speckit.analyze` command validates all spec and plan artifacts against every principle in your project constitution, so any rules you define here are automatically applied during analysis.
@mnriem
Copy link
Copy Markdown
Collaborator

mnriem commented May 6, 2026

@copilot apply changes based on the comments in this thread

mnriem added 10 commits May 11, 2026 09:26
Match the style of existing articles which state principles and
rationale without referencing specific Spec Kit commands.
Replace 'clarification pipeline' tooling references with
principle-effect language matching Articles I-III and VII-IX.
Article VI now covers governance and versioning of all project
artifacts (constitution, specs, plans, tasks), not just constitution
amendments. This matches what spec-driven.md itself describes:
specifications versioned in branches, requirement changes propagating
across artifacts, and cross-artifact consistency.
Constitution and specifications are the versioned sources of truth.
Plans and tasks are derived execution artifacts. Implementation gaps
are addressed through new specifications, preserving the feed-forward
dependency direction rather than retrofitting code back into specs.
Support all three schools: new spec, update existing spec, or
regenerate derived artifacts. The only invariant is that specs
drive implementation, not the reverse, and gaps are addressed
through specifications rather than untracked code changes.
Constitution uses semantic versioning (major/minor/patch).
Specifications use branch-based workflows (feature branches,
reviewed and merged like code). Consistent with the existing
description in spec-driven.md line 21.
Spec versioning is now tool-agnostic: 'versioned and reviewable
before acceptance' rather than prescribing branch-based workflows.
- Remove git branch references from conceptual sections (lines 21, 152)
- Remove memory/constitution.md file path from principles section
- Replace 'immutable principles' with 'governing principles' to
  reconcile with Article VI semantic versioning
- Constitutional Evolution section now acknowledges principles
  themselves can evolve through governed process, not just their
  application
@mnriem mnriem force-pushed the copilot/docs-spec-driven-update-articles-iv-v-vi branch from 550aaac to 2116770 Compare May 11, 2026 14:50
@mnriem mnriem requested a review from Copilot May 11, 2026 14:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 3

Comment thread spec-driven.md

At the heart of SDD lies a constitution—a set of immutable principles that govern how specifications become code. The constitution (`memory/constitution.md`) acts as the architectural DNA of the system, ensuring that every generated implementation maintains consistency, simplicity, and quality.
At the heart of SDD lies a constitution—a set of governing principles that define how specifications become code. The constitution acts as the architectural DNA of the system, ensuring that every generated implementation maintains consistency, simplicity, and quality.

Comment thread spec-driven.md Outdated
Comment on lines +321 to +324
#### Article IV: Requirement Quality and Coverage

Specifications must be complete, unambiguous, and verifiable before planning begins:

Comment thread spec-driven.md Outdated
Comment on lines +321 to +329
#### Article IV: Requirement Quality and Coverage

Specifications must be complete, unambiguous, and verifiable before planning begins:

```text
All requirements MUST be:
- Testable: each requirement has measurable acceptance criteria
- Unambiguous: no vague qualifiers without quantified thresholds
- Traceable: mapped from user stories through tasks to implementation
@mnriem
Copy link
Copy Markdown
Collaborator

mnriem commented May 11, 2026

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 11, 2026

@copilot apply changes based on the comments in this thread

Applied all three review comments in the latest commit:

  1. Line 277: Added a sentence to the constitution intro pointing readers to /speckit.constitution as the command to create/update the constitution, and noting that it writes to .specify/memory/constitution.md.

  2. Lines 321–324: Removed the "complete, unambiguous, and verifiable before planning begins" framing (which contradicted the "stable enough" guidance on line 29). The new section uses "for example" language throughout, avoiding any prescriptive timing.

  3. Lines 321–329: Replaced the three separate Article IV / V / VI sections (each with universal MUST blocks) with a single combined #### Articles IV, V & VI: Project-Specific Standards section. It frames these as the primary customization points—describing only common choices via bullet points—and explicitly notes that /speckit.constitution is the mechanism for defining them and that fewer or more principles than the template default are supported.

Copilot finished work on behalf of mnriem May 11, 2026 20:27
@mnriem mnriem requested a review from Copilot May 12, 2026 13:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment thread spec-driven.md Outdated

Common choices for these articles include:

- **Integration concerns** (Article IV): requirement quality and coverage standards—for example, rules about testability, unambiguity, and traceability that specifications must satisfy before planning begins for that project.
Comment thread spec-driven.md Outdated
Comment on lines +323 to +331
Articles IV, V, and VI are the primary customization points in the constitution. Teams define these articles to address their own integration, operational, and lifecycle concerns by running `/speckit.constitution`. The principles are stored in `.specify/memory/constitution.md` and `/speckit.analyze` validates spec, plan, and task artifacts against every principle in the project constitution.

Common choices for these articles include:

- **Integration concerns** (Article IV): requirement quality and coverage standards—for example, rules about testability, unambiguity, and traceability that specifications must satisfy before planning begins for that project.
- **Operational concerns** (Article V): non-functional standards—for example, explicit thresholds for performance, security, observability, and accessibility that the project requires.
- **Lifecycle concerns** (Article VI): governance and versioning practices—for example, how the constitution and specifications are versioned, how derived artifacts stay consistent with their source, and how implementation gaps are resolved.

Teams are free to name and scope these articles in whatever way best fits their project. The number of principles is also flexible—`/speckit.constitution` supports fewer or more than the template default.
@mnriem
Copy link
Copy Markdown
Collaborator

mnriem commented May 12, 2026

@copilot apply changes based on the comments in this thread

Copilot AI requested review from Copilot and removed request for Copilot May 12, 2026 14:57
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 12, 2026

@copilot apply changes based on the comments in this thread

Applied both comments in the latest commit:

  1. Renamed "Integration concerns (Article IV)" to "Requirement quality and coverage (Article IV)" so the label matches the examples (testability, unambiguity, traceability).
  2. Added a clarifying sentence that in the constitution file these slots are expressed as named principles—not fixed numbered headings—so readers understand "Articles IV–VI" are conceptual methodology positions rather than a rigid structure in .specify/memory/constitution.md.

Copilot finished work on behalf of mnriem May 12, 2026 14:57
@mnriem mnriem requested a review from Copilot May 12, 2026 16:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment thread spec-driven.md
- **Operational concerns** (Article V): for example, explicit thresholds for performance, security, observability, and accessibility that the project requires.
- **Lifecycle concerns** (Article VI): for example, how the constitution and specifications are versioned, how derived artifacts stay consistent with their source, and how implementation gaps are resolved.

Teams are free to name and scope these principles in whatever way best fits their project. The number of principles is also flexible—`/speckit.constitution` supports fewer or more than the template default.
Comment thread spec-driven.md
Comment on lines +327 to +329
- **Requirement quality and coverage** (Article IV): for example, rules about testability, unambiguity, and traceability that specifications must satisfy for that project.
- **Operational concerns** (Article V): for example, explicit thresholds for performance, security, observability, and accessibility that the project requires.
- **Lifecycle concerns** (Article VI): for example, how the constitution and specifications are versioned, how derived artifacts stay consistent with their source, and how implementation gaps are resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: Document Articles IV, V, VI as project-customizable in spec-driven.md

3 participants